package com.example.mz.dynamicdb.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mz.dynamicdb.bean.User;
import com.example.mz.dynamicdb.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    public List<Student> getStudentList();

    void addStudent(@Param("student")Student student);

    void batchAddStudent(@Param("studentList")List<Student> studentList);

}
